using System.Collections;
using System.Collections.Generic;
using Cinemachine;
using UnityEngine;

public class CameraShake : MonoBehaviour
{
    [SerializeField] private CinemachineImpulseSource impulseSource;
    
    
    //
    private void Start()
    {
        // EventCenter.Instance.AddEventListener(EventName.EVENT_CAMERA_CAMERASHAKE, TakeCameraShake);
    }

    private void TakeCameraShake()
    {
        impulseSource.GenerateImpulse();
    }
}
